import os

# lists = os.listdir('.')
# print(lists)

with open('cookie1.txt', 'r', encoding='utf-8') as f:
    with open('cookie.txt', 'w', encoding='utf-8') as f2:
        for line in f:
            line = line.strip()
            if not line:
                continue
            parts = line.split()
            print(parts[0], parts[1])
            f2.write(parts[0] + '=' + parts[1] + ';')